package me.firstapp.repository.weixin.product;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.product.RebateGrid;
import me.firstapp.repository.base.EntityRepository;

public interface RebateGridRepository extends EntityRepository<RebateGrid> {

	List<RebateGrid> findByProductId(Long productId);

	Page<RebateGrid> findRebateGridPage(Long productId, Integer pageNo, Integer pageSize,
			Map<String, Object> searchParams, String sortParam, String sortType);
}
